import {http} from "@/utils/request";
import type {loginResp} from "@/api/user/type";

//分页查询一级评论
export const reqGetComment = (userinfo: any) => http({
    url: "/sxg/sxg_comment/page",
    data: userinfo,
    method: "GET"
});
//分页查询二级评论
export const reqGetChildComment = (userinfo: any) => http({
    url: "/sxg/sxg_comment/child",
    data: userinfo,
    method: "GET"
});
//新增评论
export const reqAddComment = (info: any) => http({
    url: "/sxg/sxg_comment",
    data: info,
    method: "POST"
});